function Def = SVAR()
% SVAR  [Not a public function] Default options for SVAR class functions.
%
% Backend IRIS function.
% No help provided.

% -IRIS Toolbox.
% -Copyright (c) 2007-2014 IRIS Solutions Team.

%--------------------------------------------------------------------------

Def = struct();

outputformat = { ...
    'output','auto',@(x) any(strcmpi(x,{'auto','dbase','tseries','array'})), ...
    };

output = { ...
    'output','namedmat',@(x) ischar(x) && any(strcmpi(x,{'namedmat','numeric'})), ...
    };

Def.sort = [...
    outputformat, { ...
    'progress',false,@is.logicalscalar, ...
    }];

Def.SVAR = [ ...
    outputformat, { ...
    'maxiter',0,@(x) is.numericscalar(x) && x >= 0, ...
    'method','chol',@(x) any(strcmpi(x,{'chol','qr','svd','householder'})), ...
    'ndraw',0,@(x) is.numericscalar(x) && x >= 0, ...
    'reorder,ordering',[],@(x) isempty(x) || isnumeric(x) || iscellstr(x), ...
    'progress',false,@is.logicalscalar, ...
    'backorderresiduals,backorderresidual,reorderresiduals,reorderresidual',true,@islogical, ...
    'rank',Inf,@is.numericscalar, ...
    'std',1,@is.numericscalar, ...
    'test','',@ischar, ...
    }];

Def.fevd = { ...
    output{:}, ...
    }; %#ok<CCAT1>

end